#!/bin/bash

candidate=(1 0 "" " " "false" -1)

for a in ${candidate[*]} ; do
	if [ $a ]; then
		echo $a true
	else
		echo $a false
	fi
done